import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
const app = new Vue(App)
app.$mount()

export default{
  config: {
    pages: [
      // '^pages/predict/main'
      '^pages/me/main'
    ],
    'window': {
      'backgroundColorTop': '#1B1A20',
      'backgroundColor': '#1B1A20',
      'backgroundTextStyle': 'light',
      'navigationBarBackgroundColor': '#070d1b',
      'navigationBarTitleText': '测股吧',
      'navigationBarTextStyle': 'light',
      'onReachBottomDistance': 0
      // 'disableScroll': true
    },
    'tabBar': {
      selectedColor: '#2DA1BB',
      backgroundColor: '#070d1b',
      list: [
        {
          pagePath: 'pages/home/main',
          text: '首页',
          iconPath: 'static/images/tabbar/home.png',
          selectedIconPath: 'static/images/tabbar/home-active.png'
        },
        {
          pagePath: 'pages/predict/main',
          text: '测吧',
          iconPath: 'static/images/tabbar/predict.png',
          selectedIconPath: 'static/images/tabbar/predict-active.png'
        },
        {
          pagePath: 'pages/news/main',
          text: '盘手',
          iconPath: 'static/images/tabbar/me.png',
          selectedIconPath: 'static/images/tabbar/me-active.png'
        },
        {
          pagePath: 'pages/games/main',
          text: '游戏',
          iconPath: 'static/images/tabbar/game.png',
          selectedIconPath: 'static/images/tabbar/game-active.png'
        }
        // {
        //   pagePath: 'pages/books/main',
        //   text: '图书'
        // }
        // {
        //   pagePath: 'pages/comments/main',
        //   text: '评论',
        //   iconPath: 'static/img/todo.png',
        //   selectedIconPath: 'static/img/todo-active.png'
        // }

      ]
    }
  }
}
